<template>
  <div class="grid-item">
    <template v-if="isBomb">🐱</template>
    <template v-else>{{ count ? count : '' }}</template>
  </div>
</template>

<script setup lang="ts">
import { toRefs } from 'vue';
const props = defineProps({
  count: Number,
  isBomb: Boolean,
});

const { count, isBomb } = toRefs(props);
</script>

<style scoped></style>
